"""
自由式布局
"""
import matplotlib.pyplot as plt

plt.figure("flow layout",facecolor="lightgray")

plt.axes([0.03,0.03,0.9,0.9]) # 前两个子图左下角顶点的坐标 0.9为分别为宽和高

plt.text(0.5,0.5,"nihao",ha="center",va="center",size=30)

plt.grid()
plt.show()